<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gnome-vfs-mime-database-deprecated</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GnomeVFS - Filesystem Abstraction library">
<link rel="up" href="mime-registry.html" title="MIME Registry">
<link rel="prev" href="gnome-vfs-2.0-gnome-vfs-mime-monitor.html" title="gnome-vfs-mime-monitor">
<link rel="next" href="gnome-vfs-2.0-gnome-vfs-application-registry.html" title="Deprecated Application Registry API">
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="gnome-vfs-2.0-gnome-vfs-mime-monitor.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="mime-registry.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GnomeVFS - Filesystem Abstraction library</th>
<td><a accesskey="n" href="gnome-vfs-2.0-gnome-vfs-application-registry.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.top_of_page"></a>gnome-vfs-mime-database-deprecated</span></h2>
<p>gnome-vfs-mime-database-deprecated</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">enum                <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeActionType" title="enum GnomeVFSMimeActionType">GnomeVFSMimeActionType</a>;
enum                <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeApplicationArgumentType" title="enum GnomeVFSMimeApplicationArgumentType">GnomeVFSMimeApplicationArgumentType</a>;
struct              <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction">GnomeVFSMimeAction</a>;
<a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeActionType" title="enum GnomeVFSMimeActionType"><span class="returnvalue">GnomeVFSMimeActionType</span></a>  <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-get-default-action-type" title="gnome_vfs_mime_get_default_action_type ()">gnome_vfs_mime_get_default_action_type</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="returnvalue">GnomeVFSMimeAction</span></a> *      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-get-default-action" title="gnome_vfs_mime_get_default_action ()">gnome_vfs_mime_get_default_action</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<span class="returnvalue">GList</span> *                   <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-get-short-list-applications" title="gnome_vfs_mime_get_short_list_applications ()">gnome_vfs_mime_get_short_list_applications</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<span class="returnvalue">GList</span> *             <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-get-short-list-components" title="gnome_vfs_mime_get_short_list_components ()">gnome_vfs_mime_get_short_list_components</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-set-default-action-type" title="gnome_vfs_mime_set_default_action_type ()">gnome_vfs_mime_set_default_action_type</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeActionType" title="enum GnomeVFSMimeActionType"><span class="type">GnomeVFSMimeActionType</span></a> action_type</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-set-icon" title="gnome_vfs_mime_set_icon ()">gnome_vfs_mime_set_icon</a>             (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-set-description" title="gnome_vfs_mime_set_description ()">gnome_vfs_mime_set_description</a>      (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *description</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-set-can-be-executable" title="gnome_vfs_mime_set_can_be_executable ()">gnome_vfs_mime_set_can_be_executable</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> new_value</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-set-short-list-applications" title="gnome_vfs_mime_set_short_list_applications ()">gnome_vfs_mime_set_short_list_applications</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code><span class="type">GList</span> *application_ids</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-set-short-list-components" title="gnome_vfs_mime_set_short_list_components ()">gnome_vfs_mime_set_short_list_components</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code><span class="type">GList</span> *component_iids</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-add-application-to-short-list" title="gnome_vfs_mime_add_application_to_short_list ()">gnome_vfs_mime_add_application_to_short_list</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *application_id</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-remove-application-from-short-list" title="gnome_vfs_mime_remove_application_from_short_list ()">gnome_vfs_mime_remove_application_from_short_list</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *application_id</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-add-component-to-short-list" title="gnome_vfs_mime_add_component_to_short_list ()">gnome_vfs_mime_add_component_to_short_list</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *iid</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-remove-component-from-short-list" title="gnome_vfs_mime_remove_component_from_short_list ()">gnome_vfs_mime_remove_component_from_short_list</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *iid</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-set-default-application" title="gnome_vfs_mime_set_default_application ()">gnome_vfs_mime_set_default_application</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *application_id</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-set-default-component" title="gnome_vfs_mime_set_default_component ()">gnome_vfs_mime_set_default_component</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *component_iid</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-add-extension" title="gnome_vfs_mime_add_extension ()">gnome_vfs_mime_add_extension</a>        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *extension</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-remove-extension" title="gnome_vfs_mime_remove_extension ()">gnome_vfs_mime_remove_extension</a>     (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *extension</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-extend-all-applications" title="gnome_vfs_mime_extend_all_applications ()">gnome_vfs_mime_extend_all_applications</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code><span class="type">GList</span> *application_ids</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-remove-from-all-applications" title="gnome_vfs_mime_remove_from_all_applications ()">gnome_vfs_mime_remove_from_all_applications</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code><span class="type">GList</span> *application_ids</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="returnvalue">GnomeVFSMimeApplication</span></a> * <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-application-new-from-id" title="gnome_vfs_mime_application_new_from_id ()">gnome_vfs_mime_application_new_from_id</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-action-launch" title="gnome_vfs_mime_action_launch ()">gnome_vfs_mime_action_launch</a>        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="type">GnomeVFSMimeAction</span></a> *action</code></em>,
                                                         <em class="parameter"><code><span class="type">GList</span> *uris</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-action-launch-with-env" title="gnome_vfs_mime_action_launch_with_env ()">gnome_vfs_mime_action_launch_with_env</a>
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="type">GnomeVFSMimeAction</span></a> *action</code></em>,
                                                         <em class="parameter"><code><span class="type">GList</span> *uris</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> **envp</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-action-free" title="gnome_vfs_mime_action_free ()">gnome_vfs_mime_action_free</a>          (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="type">GnomeVFSMimeAction</span></a> *action</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-id-in-application-list" title="gnome_vfs_mime_id_in_application_list ()">gnome_vfs_mime_id_in_application_list</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *id</code></em>,
                                                         <em class="parameter"><code><span class="type">GList</span> *applications</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-id-in-component-list" title="gnome_vfs_mime_id_in_component_list ()">gnome_vfs_mime_id_in_component_list</a> (<em class="parameter"><code>const <span class="type">char</span> *iid</code></em>,
                                                         <em class="parameter"><code><span class="type">GList</span> *components</code></em>);
<span class="returnvalue">GList</span> *                   <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-remove-application-from-list" title="gnome_vfs_mime_remove_application_from_list ()">gnome_vfs_mime_remove_application_from_list</a>
                                                        (<em class="parameter"><code><span class="type">GList</span> *applications</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *application_id</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> *did_remove</code></em>);
<span class="returnvalue">GList</span> *             <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-remove-component-from-list" title="gnome_vfs_mime_remove_component_from_list ()">gnome_vfs_mime_remove_component_from_list</a>
                                                        (<em class="parameter"><code><span class="type">GList</span> *components</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *iid</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> *did_remove</code></em>);
<span class="returnvalue">GList</span> *             <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-id-list-from-component-list" title="gnome_vfs_mime_id_list_from_component_list ()">gnome_vfs_mime_id_list_from_component_list</a>
                                                        (<em class="parameter"><code><span class="type">GList</span> *components</code></em>);
<span class="returnvalue">GList</span> *                   <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-id-list-from-application-list" title="gnome_vfs_mime_id_list_from_application_list ()">gnome_vfs_mime_id_list_from_application_list</a>
                                                        (<em class="parameter"><code><span class="type">GList</span> *applications</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-freeze" title="gnome_vfs_mime_freeze ()">gnome_vfs_mime_freeze</a>               (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-thaw" title="gnome_vfs_mime_thaw ()">gnome_vfs_mime_thaw</a>                 (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-info-reload" title="gnome_vfs_mime_info_reload ()">gnome_vfs_mime_info_reload</a>          (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-type-is-known" title="gnome_vfs_mime_type_is_known ()">gnome_vfs_mime_type_is_known</a>        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-get-value" title="gnome_vfs_mime_get_value ()">gnome_vfs_mime_get_value</a>            (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *key</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-set-value" title="gnome_vfs_mime_set_value ()">gnome_vfs_mime_set_value</a>            (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *key</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *value</code></em>);
<span class="returnvalue">GList</span> *             <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-get-key-list" title="gnome_vfs_mime_get_key_list ()">gnome_vfs_mime_get_key_list</a>         (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-keys-list-free" title="gnome_vfs_mime_keys_list_free ()">gnome_vfs_mime_keys_list_free</a>       (<em class="parameter"><code><span class="type">GList</span> *mime_type_list</code></em>);
<span class="returnvalue">GList</span> *             <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-get-extensions-list" title="gnome_vfs_mime_get_extensions_list ()">gnome_vfs_mime_get_extensions_list</a>  (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-extensions-list-free" title="gnome_vfs_mime_extensions_list_free ()">gnome_vfs_mime_extensions_list_free</a> (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-get-extensions-string" title="gnome_vfs_mime_get_extensions_string ()">gnome_vfs_mime_get_extensions_string</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<span class="returnvalue">char</span> *              <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-get-extensions-pretty-string" title="gnome_vfs_mime_get_extensions_pretty_string ()">gnome_vfs_mime_get_extensions_pretty_string</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<span class="returnvalue">GList</span> *             <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-get-registered-mime-types" title="gnome_vfs_get_registered_mime_types ()">gnome_vfs_get_registered_mime_types</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-registered-mime-type-list-free" title="gnome_vfs_mime_registered_mime_type_list_free ()">gnome_vfs_mime_registered_mime_type_list_free</a>
                                                        (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-set-registered-type-key" title="gnome_vfs_mime_set_registered_type_key ()">gnome_vfs_mime_set_registered_type_key</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *key</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *data</code></em>);
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-set-extensions-list" title="gnome_vfs_mime_set_extensions_list ()">gnome_vfs_mime_set_extensions_list</a>  (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *extensions_list</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-registered-mime-type-delete" title="gnome_vfs_mime_registered_mime_type_delete ()">gnome_vfs_mime_registered_mime_type_delete</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-reset" title="gnome_vfs_mime_reset ()">gnome_vfs_mime_reset</a>                (<em class="parameter"><code><span class="type">void</span></code></em>);
</pre>
</div>
<div class="refsect1">
<a name="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GnomeVFSMimeActionType"></a><h3>enum GnomeVFSMimeActionType</h3>
<pre class="programlisting">typedef enum {
	GNOME_VFS_MIME_ACTION_TYPE_NONE,
	GNOME_VFS_MIME_ACTION_TYPE_APPLICATION,
	GNOME_VFS_MIME_ACTION_TYPE_COMPONENT
} GnomeVFSMimeActionType;
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeVFSMimeActionType</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This is used to specify the <code class="literal">type</code> of a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="type">GnomeVFSMimeAction</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GNOME-VFS-MIME-ACTION-TYPE-NONE:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_MIME_ACTION_TYPE_NONE</code></span></p></td>
<td>neither an application nor a component.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-MIME-ACTION-TYPE-APPLICATION:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_MIME_ACTION_TYPE_APPLICATION</code></span></p></td>
<td>an application.
</td>
</tr>
<tr>
<td><p><a name="GNOME-VFS-MIME-ACTION-TYPE-COMPONENT:CAPS"></a><span class="term"><code class="literal">GNOME_VFS_MIME_ACTION_TYPE_COMPONENT</code></span></p></td>
<td>a component.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GnomeVFSMimeApplicationArgumentType"></a><h3>enum GnomeVFSMimeApplicationArgumentType</h3>
<pre class="programlisting">typedef enum {
	GNOME_VFS_MIME_APPLICATION_ARGUMENT_TYPE_URIS,
	GNOME_VFS_MIME_APPLICATION_ARGUMENT_TYPE_PATHS,
	GNOME_VFS_MIME_APPLICATION_ARGUMENT_TYPE_URIS_FOR_NON_FILES
} GnomeVFSMimeApplicationArgumentType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GnomeVFSMimeAction"></a><h3>struct GnomeVFSMimeAction</h3>
<pre class="programlisting">struct GnomeVFSMimeAction {
	GnomeVFSMimeActionType action_type;
	union {
		void *component;
		void *dummy_component;
		GnomeVFSMimeApplication *application;
};
</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GnomeVFSMimeAction</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This data structure describes an action that can be done 
on a file.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeActionType" title="enum GnomeVFSMimeActionType"><span class="type">GnomeVFSMimeActionType</span></a> <em class="structfield"><code><a name="GnomeVFSMimeAction.action-type"></a>action_type</code></em>;</span></p></td>
<td>The <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeActionType" title="enum GnomeVFSMimeActionType"><span class="type">GnomeVFSMimeActionType</span></a> describing the type of this action.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-default-action-type"></a><h3>gnome_vfs_mime_get_default_action_type ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeActionType" title="enum GnomeVFSMimeActionType"><span class="returnvalue">GnomeVFSMimeActionType</span></a>  gnome_vfs_mime_get_default_action_type
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_get_default_action_type</code> is deprecated and should not be used in newly-written code. This function does not work with the new mime system.
It always returns none</p>
</div>
<p>
Query the MIME database for the type of action to be performed on <em class="parameter"><code>mime_type</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "application/x-php".
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The type of action to be performed on a file of 
MIME type <em class="parameter"><code>mime_type</code></em> by default.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-default-action"></a><h3>gnome_vfs_mime_get_default_action ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="returnvalue">GnomeVFSMimeAction</span></a> *      gnome_vfs_mime_get_default_action
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_get_default_action</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-get-default-application" title="gnome_vfs_mime_get_default_application ()"><code class="function">gnome_vfs_mime_get_default_application()</code></a> instead.</p>
</div>
<p>
Query the MIME database for default action associated with <em class="parameter"><code>mime_type</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "application/x-php".
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="type">GnomeVFSMimeAction</span></a> representing the default action to perform upon
file of type <em class="parameter"><code>mime_type</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-short-list-applications"></a><h3>gnome_vfs_mime_get_short_list_applications ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *                   gnome_vfs_mime_get_short_list_applications
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_get_short_list_applications</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-get-all-applications" title="gnome_vfs_mime_get_all_applications ()"><code class="function">gnome_vfs_mime_get_all_applications()</code></a> instead.</p>
</div>
<p>
Return an alphabetically sorted list of <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> data
structures for the <em class="parameter"><code>mime_type</code></em>. gnome-vfs no longer supports the
concept of a "short list" of applications that the user might be interested
in.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "image/png".
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <span class="type">GList</span> * where the elements are <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> *
representing various applications to display in the short list for <em class="parameter"><code>mime_type</code></em>.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-short-list-components"></a><h3>gnome_vfs_mime_get_short_list_components ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *             gnome_vfs_mime_get_short_list_components
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_get_short_list_components</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-set-default-action-type"></a><h3>gnome_vfs_mime_set_default_action_type ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_set_default_action_type
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeActionType" title="enum GnomeVFSMimeActionType"><span class="type">GnomeVFSMimeActionType</span></a> action_type</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_set_default_action_type</code> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</p>
</div>
<p>
Sets the default action type to be performed on files of <em class="parameter"><code>mime_type</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "image/png".
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>action_type</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeActionType" title="enum GnomeVFSMimeActionType"><span class="type">GnomeVFSMimeActionType</span></a> containing the action to perform by default.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> indicating the success of the operation or reporting 
any errors encountered.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-set-icon"></a><h3>gnome_vfs_mime_set_icon ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_set_icon             (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_set_icon</code> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer
supported in gnome-vfs.</p>
</div>
<p>
Set the icon entry for <em class="parameter"><code>mime_type</code></em> in the MIME database. Note that
icon entries need not necessarily contain the full path, and do not necessarily need to
specify an extension. So "i-regular", "my-special-icon.png", and "some-icon"
are all valid icon filenames.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a  MIME type.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td>a const char * containing an image filename.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> indicating the success of the operation
or any errors that may have occurred.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-set-description"></a><h3>gnome_vfs_mime_set_description ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_set_description      (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *description</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_set_description</code> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</p>
</div>
<p>
Set the <em class="parameter"><code>description</code></em> of this MIME type in the MIME database. The <em class="parameter"><code>description</code></em>
should be something like "Gnumeric spreadsheet".
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>description</code></em> :</span></p></td>
<td>a description of this MIME type.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> indicating the success of the operation or any
errors that may have occurred.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-set-can-be-executable"></a><h3>gnome_vfs_mime_set_can_be_executable ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_set_can_be_executable
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> new_value</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_set_can_be_executable</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Set whether files of <em class="parameter"><code>mime_type</code></em> might conceivably be executable.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>new_value</code></em> :</span></p></td>
<td>a boolean value indicating whether <em class="parameter"><code>mime_type</code></em> could be executable.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> indicating the success of the operation or any
errors that may have occurred.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-set-short-list-applications"></a><h3>gnome_vfs_mime_set_short_list_applications ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_set_short_list_applications
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code><span class="type">GList</span> *application_ids</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_set_short_list_applications</code> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</p>
</div>
<p>
Set the short list of applications for the specified MIME type. The short list
contains applications recommended for possible selection by the user.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "application/x-php".
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>application_ids</code></em> :</span></p></td>
<td>
<span class="type">GList</span> of const char * application ids.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> indicating the success of the operation or reporting 
any errors encountered.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-set-short-list-components"></a><h3>gnome_vfs_mime_set_short_list_components ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_set_short_list_components
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code><span class="type">GList</span> *component_iids</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_set_short_list_components</code> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</p>
</div>
<p>
Set the short list of components for the <em class="parameter"><code>mime_type</code></em>. The short list
contains companents recommended for possible selection by the user.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "application/x-php".
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>component_iids</code></em> :</span></p></td>
<td>
<span class="type">GList</span> of const char * OAFIIDs.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> indicating the success of the operation or reporting 
any errors encountered.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-add-application-to-short-list"></a><h3>gnome_vfs_mime_add_application_to_short_list ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_add_application_to_short_list
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *application_id</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_add_application_to_short_list</code> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</p>
</div>
<p>
Add an application to the short list for <em class="parameter"><code>mime_type</code></em>. The short list contains
applications recommended for display as choices to the user for a particular MIME type.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "application/x-php".
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>application_id</code></em> :</span></p></td>
<td>const char * containing the application's id in the MIME database.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> indicating the success of the operation or reporting 
any errors encountered.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-remove-application-from-short-list"></a><h3>gnome_vfs_mime_remove_application_from_short_list ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_remove_application_from_short_list
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *application_id</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_remove_application_from_short_list</code> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</p>
</div>
<p>
Remove an application specified by <em class="parameter"><code>application_id</code></em> from the short list for <em class="parameter"><code>mime_type</code></em>. A short list contains
applications recommended for display as choices to the user for a particular MIME type.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "application/x-php".
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>application_id</code></em> :</span></p></td>
<td>const char * containing the application's id in the MIME database.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> indicating the success of the operation or reporting 
any errors encountered.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-add-component-to-short-list"></a><h3>gnome_vfs_mime_add_component_to_short_list ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_add_component_to_short_list
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *iid</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_add_component_to_short_list</code> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</p>
</div>
<p>
Add a component to the short list for <em class="parameter"><code>mime_type</code></em>. A short list contains
components recommended for display as choices to the user for a particular MIME type.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "application/x-php".
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iid</code></em> :</span></p></td>
<td>const char * containing the component's OAFIID.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> indicating the success of the operation or reporting 
any errors encountered.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-remove-component-from-short-list"></a><h3>gnome_vfs_mime_remove_component_from_short_list ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_remove_component_from_short_list
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *iid</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_remove_component_from_short_list</code> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</p>
</div>
<p>
Remove a component from the short list for <em class="parameter"><code>mime_type</code></em>. The short list contains
components recommended for display as choices to the user for a particular MIME type.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "application/x-php".
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iid</code></em> :</span></p></td>
<td>const char * containing the component's OAFIID.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> indicating the success of the operation or reporting 
any errors encountered.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-set-default-application"></a><h3>gnome_vfs_mime_set_default_application ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_set_default_application
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *application_id</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_set_default_application</code> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</p>
</div>
<p>
Sets the default application to be run on files of <em class="parameter"><code>mime_type</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "application/x-php".
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>application_id</code></em> :</span></p></td>
<td>a key representing an application in the MIME database 
(<a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a>-&gt;id, for example).
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> indicating the success of the operation or reporting 
any errors encountered.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-set-default-component"></a><h3>gnome_vfs_mime_set_default_component ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_set_default_component
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *component_iid</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_set_default_component</code> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</p>
</div>
<p>
Sets the default component to be activated for files of <em class="parameter"><code>mime_type</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "application/x-php".
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>component_iid</code></em> :</span></p></td>
<td>OAFIID of a component.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> indicating the success of the operation or reporting 
any errors encountered.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-add-extension"></a><h3>gnome_vfs_mime_add_extension ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_add_extension        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *extension</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_add_extension</code> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</p>
</div>
<p>
Add a file extension to the specificed MIME type in the MIME database.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>mime type to add the mapping to.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>extension</code></em> :</span></p></td>
<td>extension to add (e.g. "txt").
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> indicating the success of the operation or any
errors that may have occurred.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-remove-extension"></a><h3>gnome_vfs_mime_remove_extension ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_remove_extension     (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *extension</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_remove_extension</code> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</p>
</div>
<p>
Removes a file extension from the <em class="parameter"><code>mime_type</code></em> in the MIME database.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>mime type to remove the extension from.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>extension</code></em> :</span></p></td>
<td>extension to remove.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> indicating the success of the operation or any
errors that may have occurred.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-extend-all-applications"></a><h3>gnome_vfs_mime_extend_all_applications ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_extend_all_applications
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code><span class="type">GList</span> *application_ids</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_extend_all_applications</code> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</p>
</div>
<p>
Register <em class="parameter"><code>mime_type</code></em> as being handled by all applications list in <em class="parameter"><code>application_ids</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "application/x-php".
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>application_ids</code></em> :</span></p></td>
<td>a <span class="type">GList</span> of const char * containing application ids.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> indicating the success of the operation or reporting 
any errors encountered.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-remove-from-all-applications"></a><h3>gnome_vfs_mime_remove_from_all_applications ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_remove_from_all_applications
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code><span class="type">GList</span> *application_ids</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_remove_from_all_applications</code> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</p>
</div>
<p>
Remove <em class="parameter"><code>mime_type</code></em> as a handled type from every application in <em class="parameter"><code>application_ids</code></em>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "application/x-php".
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>application_ids</code></em> :</span></p></td>
<td>a <span class="type">GList</span> of const char * containing application ids.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="type">GnomeVFSResult</span></a> indicating the success of the operation or reporting 
any errors encountered.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-application-new-from-id"></a><h3>gnome_vfs_mime_application_new_from_id ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="returnvalue">GnomeVFSMimeApplication</span></a> * gnome_vfs_mime_application_new_from_id
                                                        (<em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_application_new_from_id</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-new-from-desktop-id" title="gnome_vfs_mime_application_new_from_desktop_id ()"><code class="function">gnome_vfs_mime_application_new_from_desktop_id()</code></a>
instead.</p>
</div>
<p>
Fetches the <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> associated with the specified
application <em class="parameter"><code>id</code></em> from the MIME database.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
<td>a const char * containing an application id.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> * corresponding to <em class="parameter"><code>id</code></em>.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-action-launch"></a><h3>gnome_vfs_mime_action_launch ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_action_launch        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="type">GnomeVFSMimeAction</span></a> *action</code></em>,
                                                         <em class="parameter"><code><span class="type">GList</span> *uris</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_action_launch</code> is deprecated and should not be used in newly-written code. MIME actions are deprecated, use
<a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-launch" title="gnome_vfs_mime_application_launch ()"><code class="function">gnome_vfs_mime_application_launch()</code></a> instead.</p>
</div>
<p>
Launches the given mime <em class="parameter"><code>action</code></em> with the given parameters. If 
the <em class="parameter"><code>action</code></em> is an application the command line parameters will
be expanded as required by the application. The application
will also be launched in a terminal if that is required. If the
application only supports one argument per instance then multiple
instances of the application will be launched.
</p>
<p>
If the default action is a component it will be launched with
the component viewer application defined using the gconf value:
/desktop/gnome/application/component_viewer/exec. The parameters
<a href="/gnome/usr/share/gtk-doc/html/poppler/.html"><code class="literal">s</code></a> and <code class="literal">c</code> in the command line will be replaced with the list of
parameters and the default component IID respectively.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
<td>the <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="type">GnomeVFSMimeAction</span></a> to launch.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uris</code></em> :</span></p></td>
<td>parameters for the <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="type">GnomeVFSMimeAction</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GNOME-VFS-OK:CAPS"><code class="literal">GNOME_VFS_OK</code></a> if the <em class="parameter"><code>action</code></em> was launched,
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GNOME-VFS-ERROR-BAD-PARAMETERS:CAPS"><code class="literal">GNOME_VFS_ERROR_BAD_PARAMETERS</code></a> for an invalid <em class="parameter"><code>action</code></em>.
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GNOME-VFS-ERROR-NOT-SUPPORTED:CAPS"><code class="literal">GNOME_VFS_ERROR_NOT_SUPPORTED</code></a> if the uri protocol is
not supported by the <em class="parameter"><code>action</code></em>.
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GNOME-VFS-ERROR-PARSE:CAPS"><code class="literal">GNOME_VFS_ERROR_PARSE</code></a> if the <em class="parameter"><code>action</code></em> command can not be parsed.
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GNOME-VFS-ERROR-LAUNCH:CAPS"><code class="literal">GNOME_VFS_ERROR_LAUNCH</code></a> if the <em class="parameter"><code>action</code></em> command can not be launched.
<a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GNOME-VFS-ERROR-INTERNAL:CAPS"><code class="literal">GNOME_VFS_ERROR_INTERNAL</code></a> for other internal and GConf errors.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-action-launch-with-env"></a><h3>gnome_vfs_mime_action_launch_with_env ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_action_launch_with_env
                                                        (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="type">GnomeVFSMimeAction</span></a> *action</code></em>,
                                                         <em class="parameter"><code><span class="type">GList</span> *uris</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> **envp</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_action_launch_with_env</code> is deprecated and should not be used in newly-written code. MIME actions are deprecated, use
<a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#gnome-vfs-mime-application-launch-with-env" title="gnome_vfs_mime_application_launch_with_env ()"><code class="function">gnome_vfs_mime_application_launch_with_env()</code></a> instead.</p>
</div>
<p>
Same as <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-action-launch" title="gnome_vfs_mime_action_launch ()"><code class="function">gnome_vfs_mime_action_launch()</code></a> except that the
application or component viewer will be launched with
the given environment.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
<td>the <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="type">GnomeVFSMimeAction</span></a> to launch.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uris</code></em> :</span></p></td>
<td>parameters for the <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="type">GnomeVFSMimeAction</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>envp</code></em> :</span></p></td>
<td>the environment to use for the action.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> same as <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-action-launch" title="gnome_vfs_mime_action_launch ()"><code class="function">gnome_vfs_mime_action_launch()</code></a>.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.4</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-action-free"></a><h3>gnome_vfs_mime_action_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_mime_action_free          (<em class="parameter"><code><a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="type">GnomeVFSMimeAction</span></a> *action</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_action_free</code> is deprecated and should not be used in newly-written code. <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="type">GnomeVFSMimeAction</span></a> structures should not be used in new
code.</p>
</div>
<p>
Frees a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="type">GnomeVFSMimeAction</span></a> *.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
<td>a <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#GnomeVFSMimeAction" title="struct GnomeVFSMimeAction"><span class="type">GnomeVFSMimeAction</span></a> to be freed.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-id-in-application-list"></a><h3>gnome_vfs_mime_id_in_application_list ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gnome_vfs_mime_id_in_application_list
                                                        (<em class="parameter"><code>const <span class="type">char</span> *id</code></em>,
                                                         <em class="parameter"><code><span class="type">GList</span> *applications</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_id_in_application_list</code> is deprecated and should not be used in newly-written code. </p>
</div>
<p>
Check whether an application id is in a list of <a href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplications</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
<td>an application id.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>applications</code></em> :</span></p></td>
<td>a <span class="type">GList</span> * whose nodes are <a href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplications</span></a>, such as the
result of <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-get-short-list-applications" title="gnome_vfs_mime_get_short_list_applications ()"><code class="function">gnome_vfs_mime_get_short_list_applications()</code></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> if an application whose id matches <em class="parameter"><code>id</code></em> is in <em class="parameter"><code>applications</code></em>.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-id-in-component-list"></a><h3>gnome_vfs_mime_id_in_component_list ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gnome_vfs_mime_id_in_component_list (<em class="parameter"><code>const <span class="type">char</span> *iid</code></em>,
                                                         <em class="parameter"><code><span class="type">GList</span> *components</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_id_in_component_list</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>iid</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>components</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-remove-application-from-list"></a><h3>gnome_vfs_mime_remove_application_from_list ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *                   gnome_vfs_mime_remove_application_from_list
                                                        (<em class="parameter"><code><span class="type">GList</span> *applications</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *application_id</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> *did_remove</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_remove_application_from_list</code> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</p>
</div>
<p>
Remove an application specified by id from a list of <a href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplications</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>applications</code></em> :</span></p></td>
<td>a <span class="type">GList</span> * whose nodes are <a href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplications</span></a>, such as the
result of <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-get-short-list-applications" title="gnome_vfs_mime_get_short_list_applications ()"><code class="function">gnome_vfs_mime_get_short_list_applications()</code></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>application_id</code></em> :</span></p></td>
<td>id of an application to remove from <em class="parameter"><code>applications</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>did_remove</code></em> :</span></p></td>
<td>If non-NULL, this is filled in with <code class="literal">TRUE</code> if the application
was found in the list, <code class="literal">FALSE</code> otherwise.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The modified list. If the application is not found, the list will 
be unchanged.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-remove-component-from-list"></a><h3>gnome_vfs_mime_remove_component_from_list ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *             gnome_vfs_mime_remove_component_from_list
                                                        (<em class="parameter"><code><span class="type">GList</span> *components</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *iid</code></em>,
                                                         <em class="parameter"><code><span class="type">gboolean</span> *did_remove</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_remove_component_from_list</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>components</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iid</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>did_remove</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-id-list-from-component-list"></a><h3>gnome_vfs_mime_id_list_from_component_list ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *             gnome_vfs_mime_id_list_from_component_list
                                                        (<em class="parameter"><code><span class="type">GList</span> *components</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_id_list_from_component_list</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>components</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-id-list-from-application-list"></a><h3>gnome_vfs_mime_id_list_from_application_list ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *                   gnome_vfs_mime_id_list_from_application_list
                                                        (<em class="parameter"><code><span class="type">GList</span> *applications</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_id_list_from_application_list</code> is deprecated and should not be used in newly-written code. </p>
</div>
<p>
Create a list of application ids from a list of <a href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplications</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>applications</code></em> :</span></p></td>
<td>a <span class="type">GList</span> * whose nodes are GnomeVFSMimeApplications, such as the
result of <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-get-short-list-applications" title="gnome_vfs_mime_get_short_list_applications ()"><code class="function">gnome_vfs_mime_get_short_list_applications()</code></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a new list where each <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database.html#GnomeVFSMimeApplication" title="GnomeVFSMimeApplication"><span class="type">GnomeVFSMimeApplication</span></a> in the original
list is replaced by a char * with the application's id. The original list is
not modified.

</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-freeze"></a><h3>gnome_vfs_mime_freeze ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_mime_freeze               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Freezes the mime data so that you can do multiple
updates to the data in one batch without needing
to back the files to disk or reading them.
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-thaw"></a><h3>gnome_vfs_mime_thaw ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_mime_thaw                 (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
UnFreezes the mime data so that you can do multiple
updates to the data in one batch without needing
to back the files to disk or reading them.
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-info-reload"></a><h3>gnome_vfs_mime_info_reload ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_mime_info_reload          (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Reload the MIME database from disk and notify any listeners
holding active <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-monitor.html#GnomeVFSMIMEMonitor" title="GnomeVFSMIMEMonitor"><span class="type">GnomeVFSMIMEMonitor</span></a> objects.
</p>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-type-is-known"></a><h3>gnome_vfs_mime_type_is_known ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gnome_vfs_mime_type_is_known        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<p>
This function returns <code class="literal">TRUE</code> if <em class="parameter"><code>mime_type</code></em> is in the MIME database at all.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a mime type.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> if anything is known about <em class="parameter"><code>mime_type</code></em>, otherwise <code class="literal">FALSE</code>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-value"></a><h3>gnome_vfs_mime_get_value ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        gnome_vfs_mime_get_value            (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *key</code></em>);</pre>
<p>
This function retrieves the value associated with <em class="parameter"><code>key</code></em> in
the given <span class="type">GnomeMimeContext</span>.  The string is private, you
should not free the result.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a mime type.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>a key to lookup for the given <em class="parameter"><code>mime_type</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GNOME-VFS-OK:CAPS"><code class="literal">GNOME_VFS_OK</code></a> if the operation succeeded, otherwise an error code.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-set-value"></a><h3>gnome_vfs_mime_set_value ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_set_value            (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *key</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_set_value</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This function will set the <em class="parameter"><code>value</code></em> for the <em class="parameter"><code>key</code></em> and it will save it
to the user' file if necessary.
You should not free the <em class="parameter"><code>key</code></em>/<em class="parameter"><code>value</code></em> passed to this function.
They are used internally.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a mime type.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>a key to store the value in.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>the value to store in the <em class="parameter"><code>key</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GNOME-VFS-OK:CAPS"><code class="literal">GNOME_VFS_OK</code></a> if the operation succeeded, otherwise an error code.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-key-list"></a><h3>gnome_vfs_mime_get_key_list ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *             gnome_vfs_mime_get_key_list         (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_get_key_list</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-keys-list-free"></a><h3>gnome_vfs_mime_keys_list_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_mime_keys_list_free       (<em class="parameter"><code><span class="type">GList</span> *mime_type_list</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_keys_list_free</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>mime_type_list</code></em> :</span></p></td>
<td>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-extensions-list"></a><h3>gnome_vfs_mime_get_extensions_list ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *             gnome_vfs_mime_get_extensions_list  (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<p>
Get the file extensions associated with mime type <em class="parameter"><code>mime_type</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>mime type to get the extensions of.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <span class="type">GList</span> of char *s.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-extensions-list-free"></a><h3>gnome_vfs_mime_extensions_list_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_mime_extensions_list_free (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);</pre>
<p>
Call this function on the list returned by <a class="link" href="gnome-vfs-2.0-gnome-vfs-mime-database-deprecated.html#gnome-vfs-mime-get-extensions-list" title="gnome_vfs_mime_get_extensions_list ()"><code class="function">gnome_vfs_mime_get_extensions_list()</code></a>
to free the <em class="parameter"><code>list</code></em> and all of its elements.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>the extensions list.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-extensions-string"></a><h3>gnome_vfs_mime_get_extensions_string ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              gnome_vfs_mime_get_extensions_string
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_get_extensions_string</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-get-extensions-pretty-string"></a><h3>gnome_vfs_mime_get_extensions_pretty_string ()</h3>
<pre class="programlisting"><span class="returnvalue">char</span> *              gnome_vfs_mime_get_extensions_pretty_string
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_get_extensions_pretty_string</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-get-registered-mime-types"></a><h3>gnome_vfs_get_registered_mime_types ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *             gnome_vfs_get_registered_mime_types (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_get_registered_mime_types</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-registered-mime-type-list-free"></a><h3>gnome_vfs_mime_registered_mime_type_list_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_mime_registered_mime_type_list_free
                                                        (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_registered_mime_type_list_free</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-set-registered-type-key"></a><h3>gnome_vfs_mime_set_registered_type_key ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_set_registered_type_key
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *key</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *data</code></em>);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-set-extensions-list"></a><h3>gnome_vfs_mime_set_extensions_list ()</h3>
<pre class="programlisting"><a class="link" href="gnome-vfs-2.0-gnome-vfs-result.html#GnomeVFSResult" title="enum GnomeVFSResult"><span class="returnvalue">GnomeVFSResult</span></a>      gnome_vfs_mime_set_extensions_list  (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *extensions_list</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_set_extensions_list</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>extensions_list</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-registered-mime-type-delete"></a><h3>gnome_vfs_mime_registered_mime_type_delete ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_mime_registered_mime_type_delete
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_registered_mime_type_delete</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gnome-vfs-mime-reset"></a><h3>gnome_vfs_mime_reset ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gnome_vfs_mime_reset                (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">gnome_vfs_mime_reset</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15.1</div>
</body>
</html>